<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>新增职位</title>
<link rel="stylesheet" href="${pageContext.request.contextPath }/static/css/addposition.css" />
</head>
<body>
	<div class="div01">
			<p>系统设置  >> 用户管理  >> 新增职位</p>
			<div class="div02">
				<ul>
					<li>
						职位编码：
						<input type="text" id="position_code" name="position_code" value="" />
						<span class="span02">*</span>
					</li>
					<li>
						职位名称：
						<input type="text" id="position_name" name="position_name" value="" />
						<span class="span02">*</span>
					</li>
					<li>
						所属部门：&nbsp;&nbsp;
						<select id="department_Id" name="department_Id">
			            	<c:if test="${depList != null }">
									   <option value="0">--请选择--</option>
									   <c:forEach var="dep" items="${depList}">
									   		<option <c:if test="${dep.id == department_Id }">selected="selected"</c:if>
									   		value="${dep.id}">${dep.oz_name}</option>
									   </c:forEach>
									</c:if>
			        	</select>
						<span class="span02">*</span>
					</li>
					<li>
						职位类型：&nbsp;&nbsp;
						<select id="position_classification" name="position_classification">
			            	<c:if test="${posClass != null }">
									   <option value="0">--请选择--</option>
									   <c:forEach var="pos" items="${posClass}">
									   		<option <c:if test="${pos.p_id == position_classification }">selected="selected"</c:if>
									   		value="${pos.p_id}">${pos.p_classname}</option>
									   </c:forEach>
									</c:if>
			        	</select>
						<span class="span02">*</span>
					</li>
					<li>
						职位描述：
						<textarea rows="3" cols="50" id="position_description" name="position_description"></textarea>
					</li>
					<li>
						备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：
						<textarea rows="3" cols="50" id="remark" name="remark"></textarea>
					</li>
					<li class="button">
						<input class="input" type="button" id="addposition" name="addposition" onclick="addPos()" value="保存" />
						<input class="input" type="button" id="back" name="back" onclick="javascript:history.back()" value="返回" />
					</li>
				</ul>
			</div>
		</div>
</body>
<script src="${pageContext.request.contextPath }/static/js/system/position.js"></script>
</html>